# bicycles = ['trek', 'cannondale', 'redline', 'specialized']
# print(bicycles)
# print(bicycles[0])
# print(bicycles[0].title())

# motorcycles = ['honda', 'yamaha', 'suzuki']
# motorcycles.append('ducati')
# print(motorcycles)

# motorcycles = ['honda', 'yamaha', 'suzuki']
# motorcycles.insert(0, 'ducati')
# print(motorcycles)

# motorcycles = ['honda', 'yamaha', 'suzuki']
# del motorcycles[0]
# print(motorcycles)

# motorcycles = ['honda', 'yamaha', 'suzuki']
# popped_motorcycle = motorcycles.pop()
# print(motorcycles)
# print(popped_motorcycle)

# motorcycles = ['honda', 'yamaha', 'suzuki', 'ducati']
# too_expensive ='ducati'
# motorcycles.remove(too_expensive)
# print(motorcycles)
# print(f"\nA {too_expensive.title()} is too expensive for me.")

cars = ['bmw', 'audi', 'toyota', 'subaru']
cars.sort()
print(cars)
cars.reverse()
print(cars)
length =len(cars)
print(length)